package org.lyq.erp.auth.role.mapper;

import java.util.List;
import java.util.Map;
import org.lyq.erp.auth.role.pojo.Role;

public interface RoleMapper {
	
	int insertSelective(Role paramRole);

	Role selectByPrimaryKey(Integer paramInteger);

	int updateByPrimaryKeySelective(Role paramRole);

	List<Role> selectAllRole();

	void insertRoleAndResource(Map<String, Object> paramMap);

	void insertRoleAndMenu(Map<String, Object> paramMap);

	void deleteAllResource(Integer paramInteger);

	void deleteAllMenu(Integer paramInteger);

	Role selectRoleByRoleUuid(Integer paramInteger);

	void deleteRoleByRoleUuid(Integer paramInteger);

	int[] selectAllRoleUuidsByEmpUuid(Integer paramInteger);

	void deleteAllEmployee(Integer paramInteger);
}
